package com.kgc.scd.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @author: WangKuoKuo
 * @create: 2022-06-15 11:41
 * @description:
 **/
@Data
public class UserVO{


    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String userName;



    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String userPhone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String userEmail;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private String userSex;

    /**
     * 生日
     */
    @ApiModelProperty(value = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date userBirth;

    /**
     * 默认收货地址id
     */
    @ApiModelProperty(value = "默认收货地址id")
    private String userAddrId;

    /**
     * 积分
     */
    @ApiModelProperty(value = "积分")
    private Integer userCredit;

    /**
     * 累计签到天数
     */
    @ApiModelProperty(value = "累计签到天数")
    private Integer userTotalSign;

    /**
     * 连续签到天数
     */
    @ApiModelProperty(value = "连续签到天数")
    private Integer userContinueSign;

    /**
     * 会员id 为0则不是会员
     */
    @ApiModelProperty(value = "会员id",notes = "为0则不是会员")
    private Integer userVipid;


    /**
     * 签到时间
     */
    @ApiModelProperty(value = "签到时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userSigndate;



    /**
     * 收货地址ID
     */
    @ApiModelProperty("收货地址ID")
    private String addrId;



    /**
     * 收货人姓名
     */
    @ApiModelProperty("收货人姓名")
    private String addrUserName;

    /**
     * 收货地区
     */
    @ApiModelProperty("收货地区")
    private String addrDistrict;

    /**
     * 详细地址
     */
    @ApiModelProperty("详细地址")
    private String addrDetail;

    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    private String addrPhone;

    /**
     * 固定电话
     */
    @ApiModelProperty("固定电话")
    private String addrTel;
}
